package com.springboot.project.common.dao;

import com.springboot.project.common.entity.Dept;
import com.springboot.project.common.node.ZTreeNode;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 部门表
 * @author lby
 * @email 2571664742@qq.com
 * @date 2018-06-30
 */
public interface DeptDao extends com.baomidou.mybatisplus.mapper.BaseMapper<Dept>{

    int count(Map<String, Object> map);

    List<Map<String, Object>> list(Map<String,Object> map);

    List<ZTreeNode> deptTree();
}
